window: Add initial support for client-side decorations under Wayland
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 11 Apr 2012 16:55:54 +0000 (17:55 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 17 Mar 2013 16:13:35 +0000 (12:13 -0400)
commit6a8362111e9279d92d0bd78834e4ad62f26ed119
treefbaf9cd9fbab612bfa35cdead967c8e2f6d4e357
parent3f9455301e7637b2bc1cca33897c38daf1a71e5b
window: Add initial support for client-side decorations under Wayland

This change comprises four main parts:
 * the creation of the widgets that form the decorations,
 * implementation of get_preferred_height/width, and the for_width/for_height
   variants,
 * taking the decorations into account when allocating,
 * and drawing the decorations themselves.

Kristian did the bulk of the original work on this but any bugs are almost
certainly mine through the many refactorings and rebasings.
gtk/gtkwindow.c